<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文本插值</title>
</head>
<body>
<div id="div">
<!--    //实现内容拼接-->
    <div>你好：{{msg}}</div><!--内容拼接-->
    <div v-html="msg"></div><!--标签解析-->
</div>
<script src="js/vue.js"></script>
<script>
    new Vue({
        el:"#div",
        data:{
            msg:"<b>Hello Vue</b>"
        }
    });
</script>
</body>
</html>